package org.soc.timesheet.server.domain.service;
import java.util.List;
import org.soc.timesheet.domain.TokenType;
import org.springframework.roo.addon.layers.service.RooService;

@RooService(domainTypes = { org.soc.timesheet.domain.TokenType.class })
public interface TokenTypeService {

	TokenType findByTypeDesc(String tokenType);

	public abstract long countAllTokenTypes();


	public abstract void deleteTokenType(TokenType tokenType);


	public abstract TokenType findTokenType(Integer id);


	public abstract List<TokenType> findAllTokenTypes();


	public abstract List<TokenType> findTokenTypeEntries(int firstResult, int maxResults);


	public abstract void saveTokenType(TokenType tokenType);


	public abstract TokenType updateTokenType(TokenType tokenType);

}
